package com.smfx.yxt.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.smfx.yxt.daoSqlserver.SchoolCommentWeekMapper;
import com.smfx.yxt.model.SchoolCommentWeek;
import com.smfx.yxt.reqVo.WeekCommentQueryVO;
import com.smfx.yxt.service.ISchoolCommentWeekService;

@Service("schoolCommentWeekService")
public class SchoolCommentWeekServiceImpl implements ISchoolCommentWeekService {

	@Autowired
	private SchoolCommentWeekMapper schoolCommentWeekMapper;
	@Override
	public int insertSelective(SchoolCommentWeek record) {
		return schoolCommentWeekMapper.insertSelective(record);
	}

	@Override
	public SchoolCommentWeek selectByPrimaryKey(Integer id) {
		return schoolCommentWeekMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKeySelective(SchoolCommentWeek record) {
		return schoolCommentWeekMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public List<SchoolCommentWeek> selectListByParam(SchoolCommentWeek record) {
		return schoolCommentWeekMapper.selectListByParam(record);
	}

	@Override
	public int insertBatch(List<SchoolCommentWeek> list) {
		return schoolCommentWeekMapper.insertBatch(list);
	}

	@Override
	public List<SchoolCommentWeek> selectNoticeParent(WeekCommentQueryVO vo) {
		return schoolCommentWeekMapper.selectNoticeParent(vo);
	}

	@Override
	public List<SchoolCommentWeek> selectRemaindTeacher(WeekCommentQueryVO vo) {
		return schoolCommentWeekMapper.selectRemaindTeacher(vo);
	}

}
